import { createPinia } from 'pinia'
import ppps from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(ppps)// 注册插件

export default pinia
export * from './modules/user'
export * from './modules/cart'
export * from './modules/order'
export * from './modules/counter'
export * from './modules/shop'